import eslintPlugin from 'vite-plugin-eslint';

export default function createEsLintPlugin() {
  return eslintPlugin({
    include: ['src/**/*.js', 'src/**/*.vue', 'src/*.js', 'src/*.vue'],
  });
}
